.common-layout {
    height: 100%;

    :deep(.main-space) {
        height: 100%;

        &>div:first-child {
            height: 100%;

            .n-layout {
                height: 100%;

                .n-layout-sider .n-layout-sider-scroll-container {
                    overflow-x: hidden !important;
                }
            }
        }
    }
	:deep(.n-layout-scroll-container){
		display: flex;
		flex-direction: column;
	}

    .main-content {
        flex: 1;
		overflow-y: auto;
    }

    .footer {
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-size: 12px;
        border-top: 1px solid var(--grey-300);
        box-sizing: border-box;
        color: var(--grey-500);
    }
}